<?php namespace App;

use Illuminate\Database\Eloquent\Model;
/**
 * @package
 * @category
 * @subpackage
 *
 * @SWG\Model(id="Article")
 */
class Article extends Model {
	protected $table = 'article';
	//
	/**
	 * @SWG\Property(
	 *   name="id",
	 *   type="integer",
	 *   format="int64",
	 *   description="主键"
	 * )
	 */
	public $id;
	
	/**
	 * @SWG\Property(
	 *  name="name",type="array",
	 *  items="$ref:User",
	 *  description="姓名"
	 * )
	 *
	 */
	public $name;
	/**
	 * @SWG\Property(
	 *  name="sex",type="string",
	 *  description="姓名"
	 * )
	 */
	public $sex;
	
	/**
	 * @SWG\Property(
	 *   name="userStatus", type="integer", format="int32",
	 *   description="文章状态",
	 *   enum="{'1':'registered','2':'active','3':'closed'}"
	 * )
	 */
	public $status;
	

}
